
/**
 * FreePodium is a Sub-class of Performance, this class has the particularity that it has a predifined
 * duration.
 * 
 * @author Mathieu Reymond & Jonathan Smet
 * @version 03/05/11
 */
public class FreePodium extends Performance
{
    private static final int DURATION = 20; // in minutes

    /**
     * Create a new FreePodium object, the duration here is the same for all the FreePodium objects
     * 
     * @param title The Free-podium's title
     * @param description A short description
     * @param podium The place where the performance will happen
     */
    public FreePodium(String title, String description, String podium)
    {
        super(title, "Free Podium", description, podium);
        setDuration();
    }
    
    /**
     * Set the duration of the show. The duration is the same for all FreePodium objects
     */
    protected void setDuration()
    {
        super.setDuration(DURATION*60);
    }
}
